Skip to content

Authenticate the AOT smoke test's GitHub reads in CI - #49

Closed
flobernd wants to merge 1 commit into
mainfrom
smoke-test-token
Closed

flobernd wants to merge 1 commit into
mainfrom
smoke-test-token

Conversation

@flobernd

Copy link
Copy Markdown

Summary

The AOT smoke test (./build.sh smokeaot) now reads GitHub with a token when GITHUB_TOKEN is set, and the aot-pack job sets the variable to the workflow token. A run without the variable stays anonymous.

Intention

The smoke test reads GitHub anonymously. GitHub allows an address 60 anonymous requests an hour, and a hosted runner shares its address with other jobs. On macos-latest the step failed in both attempts of the 0.11.6 release run, the first one with Octokit.RateLimitExceededException. The build job needs every aot-pack job, so it was skipped and 0.11.6 did not reach nuget.org. A re-run of that release run uses the workflow of the tag, so the fix needs a new release.

Related

The smoke test reads GitHub anonymously. GitHub allows an address 60
anonymous requests an hour, and a hosted runner shares its address
with other jobs. On macos-latest the step failed in both attempts of
the 0.11.6 release run, the first one with a
RateLimitExceededException. The build job needs every aot-pack job,
so it was skipped and 0.11.6 did not reach nuget.org.

The smoke target now passes --token when GITHUB_TOKEN is set, and the
CI step sets it to the workflow token. A run without the variable
stays anonymous.
@flobernd flobernd added the ci Build and automation (patch) label Nov 12, 2026
@flobernd flobernd closed this Nov 12, 2026
@flobernd
flobernd deleted the smoke-test-token branch November 12, 2026 12:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Build and automation (patch)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant